package com.zhanqiao.service;

import com.zhanqiao.Dao.FanDao;
import com.zhanqiao.domain.FansBean;

import java.sql.SQLException;
import java.util.List;

public class FanService implements FansService {

    @Override
    public List<FansBean> userService(String page, String limit) throws SQLException {
        FanDao usersDao = new FanDao();
        List<FansBean> dataSource = usersDao.selectAll(page,limit);
        System.out.println(dataSource);
        return dataSource;
    }
}
